Returns the file extension of a specified file.
Syntax
FileExtension(FileName As String) As String
Name | Description |
---|---|
FileName |
The full name of the file for which to return the file extension. |
Remarks
Also returns the period, for example, .doc.
Related concepts